import * as webpack from 'webpack';
import * as merge from 'webpack-merge';
import BaseConfig from './webpack.config'
import { appBuild } from "./paths"
const config = merge(BaseConfig, {
    mode: 'development',
    devServer: {
        contentBase: appBuild,
        historyApiFallback: true,
        proxy: {
            '/nity': 'http://192.168.0.30'
        }
    },
    plugins: [
        new webpack.HotModuleReplacementPlugin()
    ]
} as webpack.Configuration)

export default config;